<template>
  <div>
    <div class="custom-mark2">
      <div class="exam-popup">
        <div class="exam-popup__title">Test ended</div>
        <div class="exam-popup__content">
          <div class="text">Your test has finished.</div>
          <div class="text">All of your answers have been stored.</div>
          <div class="text">Please wait for further instructions.</div>
        </div>
        <div class="exam-popup__footer">
          <!---->
          <div class="exam-button info" @click="readDetail">Continue</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'testended',
    data() {
      return {

      }
    },
    methods: {
      readDetail() {
        this.$router.push(localStorage.isPage);
      }
    },
    mounted() {

    }
  }

</script>

<style lang="less">
  .custom-mark2 {
    position: fixed;
    z-index: 100002;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #dee5f5;
    display: flex;
    align-items: center;
    justify-content: center;

    .exam-popup {
      display: flex;
      flex-direction: column;
      width: 36.35417rem;
      background: #fff;
      box-shadow: 0 1px 2px 0 #b8bdc9;
      border-radius: 8px;
    }

    .exam-popup__title {
      height: 3.22917rem;
      line-height: 3.22917rem;
      padding-left: .78125rem;
      font-size: 1.04167rem;
      background: #000;
      font-weight: 700;
      color: #fff;
      vertical-align: middle;
    }

    .exam-popup__content {
      display: flex;
      flex-direction: column;
      padding-left: .83333rem;
      font-size: .78125rem;
      color: #000;
      margin-top: .52083rem;

      .text {
        height: 1.97917rem;
        line-height: 1.97917rem;
      }
    }

    .exam-popup__footer {
      justify-content: center;
    }

    .exam-popup__footer {
      display: flex;
      flex-direction: row;
      width: 100%;
      height: 3.54167rem;
    }

    .exam-button.info:active {
      background: #2464c5;
      border: 3px solid #99c2fa;
      color: #fff;
    }

    .exam-button {
      width: 10.41667rem;
      margin-left: 1.40625rem;
      margin-right: .57292rem;
    }

    .exam-button.info {
      background: #fff;
      -webkit-box-shadow: 0 2px 2px 0 #8a898a;
      box-shadow: 0 2px 2px 0 #8a898a;
      color: #172a3f;
    }

    .exam-button {
      height: 1.97917rem;
      line-height: 1.97917rem;
      border-radius: 4px;
      vertical-align: middle;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
  }

</style>
